
export class User{
    public userId:string;
    public name:string;
    public headImg:string;
    public salt:string;
    constructor(user?:User){
        this.userId = user.userId;
        this.name = user.name;
        this.headImg = user.headImg;
    }
}

export class ResultResponse {
    public code:number;
    public msg:string;
    public data:any;
    public constructor(code:number, msg:string, data?:any){
        this.code = code;
        this.msg = msg;
        this.data = data;
    }
}